package com.bbs.service.impl;

import com.bbs.domain.Zone;
import com.bbs.mapper.ZoneMapper;
import com.bbs.service.ZoneService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName ZoneServiceImpl
 * @Description TODO
 * @Author geci
 * @Date 2019/9/23 12:14
 * @Version 1.0
 */
@Service
public class ZoneServiceImpl implements ZoneService {

    @Autowired
    private ZoneMapper zoneMapper;

    /**
     * 查询所有板块区域信息
     *
     * @return
     */
    @Override
    public List<Zone> findZoneList() {
        return zoneMapper.selectAll();
    }
}
